﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewAI.FSM.SocketConnectFSM
{
    public class CloseReceiveGameServerMsgThreadState : State<AIClientSocket>
    {
        public override void Enter(AIClientSocket entity)
        {
            entity.ClientSocket.Close();
            PubliceMessage.CloseAllMessage.Call(null, new FSMEventEventArg("Socket接收消息异常！"));
        }
    }
}
